package com.yuyou.fn.settlement.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.settlement.entity.IncomeCategory;

import java.util.List;

/**
 *
 * IncomeCategory 表数据服务层接口
 *
 */
public interface IIncomeCategoryService extends ISuperService<IncomeCategory,Long> {


    Page<IncomeCategory> findIncomeCategory(int pageNo, int pageSize);

    List<IncomeCategory> findAllIncomeCategory();


    void saveOrUpdateIncomeCategory(Long incomeCategoryId, String name, String remark);

    void deleteIncomeCategory(Long incomeCategoryId);

}